package com.gujiangbo.application.exception;

public class IMPException extends Exception {
	
	private static final long serialVersionUID = 1L;
	private String errorCode;

	public String getErrorCode() {
		return this.errorCode;
	}

	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}

	public IMPException(Throwable cause) {
		super(cause);
	}

	public IMPException(String message) {
		super(message);
	}

	public IMPException(String message, String errorCode) {
		super(message);
		this.errorCode = errorCode;
	}

	public IMPException(String message, Throwable cause) {
		super(message, cause);
	}

	public IMPException(String message, Throwable cause, String errorCode) {
		super(message, cause);
		this.errorCode = errorCode;
	}

	public IMPException(Throwable cause, String errorCode) {
		super(cause);
		this.errorCode = errorCode;
	}
}
